﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IndoorPosition.Server.Core.Utils
{
    /// <summary>
    /// 搜索查询条件数据传输对象
    /// </summary>
    public class SearchInputDto
    {
        /// <summary>
        /// 搜索关键字
        /// </summary>
        public string Keyword
        {
            get;
            set;
        }

        /// <summary>
        /// 排序字段
        /// </summary>
        public string SortField
        {
            get;
            set;
        }

        /// <summary>
        /// 排序方式
        /// asc
        /// desc
        /// </summary>
        public string SortType
        {
            get;
            set;
        }

        /// <summary>
        /// 复杂查询条件
        /// </summary>
        public List<Condition> Conditions
        {
            get;
            set;
        }
    }
}
